# System = i686-pc-linux-gnu

CC      = gcc
CFLAGS  = -I./
CFLAGS += -g -O2 -D_REENTRANT -Wall
CFLAGS += -DCALLBACK_TASK
CFLAGS += -Wno-unused-but-set-variable

LIBS    = -lrt -lpthread

CLEANFILES = core core.* *.core *.o temp.* *.out

PROGS =	tasks

all:	${PROGS}

EXECUTE = ${CC} ${CFLAGS} -o $@ $^ ${LIBS}

tasks: main.o task_data.o
	${EXECUTE}
clean:
	rm -f ${PROGS} ${CLEANFILES}
